
cmake_minimum_required(VERSION 2.8)

project(x11rdp C)

include(ExternalProject)

set(X11RDP_PREFIX "/opt/X11rdp")

set(EXTERNAL_PROJECTS_BASE "${CMAKE_BINARY_DIR}/X11rdp")
set_property(DIRECTORY PROPERTY "EP_BASE" ${EXTERNAL_PROJECTS_BASE})

set(EXTERNAL_PROJECTS_CONFIGURE_EXTRA "PKG_CONFIG_PATH=${X11RDP_PREFIX}/lib/pkgconfig:${X11RDP_PREFIX}/share/pkgconfig")
list(APPEND EXTERNAL_PROJECTS_CONFIGURE_EXTRA "LDFLAGS=-Wl,-rpath=${X11RDP_PREFIX}/lib")
list(APPEND EXTERNAL_PROJECTS_CONFIGURE_EXTRA "CFLAGS=-I${X11RDP_PREFIX}/include -fPIC -O2")
list(APPEND EXTERNAL_PROJECTS_CONFIGURE_EXTRA "PATH=${X11RDP_PREFIX}/bin:$ENV{PATH}")

set(EXTERNAL_PROJECT "expat")
set(${EXTERNAL_PROJECT}_VERSION "2.0.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.gz")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://server1.xrdp.org/xrdp/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "Python")
set(${EXTERNAL_PROJECT}_VERSION "2.7")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.python.org/ftp/python/2.7/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-system-expat")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "expat")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libxml2")
set(${EXTERNAL_PROJECT}_VERSION "2.7.8")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.gz")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "ftp://ftp.xmlsoft.org/libxml2/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "util-macros")
set(${EXTERNAL_PROJECT}_VERSION "1.11.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://cgit.freedesktop.org/xorg/util/macros/snapshot/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "${EXTERNAL_PROJECTS_BASE}/Source/${EXTERNAL_PROJECT}/autogen.sh")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xf86driproto")
set(${EXTERNAL_PROJECT}_VERSION "2.1.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.x.org/releases/X11R7.6/src/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "dri2proto")
set(${EXTERNAL_PROJECT}_VERSION "2.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.x.org/releases/X11R7.6/src/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "glproto")
set(${EXTERNAL_PROJECT}_VERSION "1.4.12")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.x.org/releases/X11R7.6/src/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libpciaccess")
set(${EXTERNAL_PROJECT}_VERSION "0.12.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://cgit.freedesktop.org/xorg/lib/libpciaccess/snapshot/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "${EXTERNAL_PROJECTS_BASE}/Source/${EXTERNAL_PROJECT}/autogen.sh")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "util-macros")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libpthread-stubs")
set(${EXTERNAL_PROJECT}_VERSION "0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xcb.freedesktop.org/dist/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "makedepend")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/util/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libpng")
set(${EXTERNAL_PROJECT}_VERSION "1.2.46")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.gz")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://server1.xrdp.org/xrdp/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "pixman")
set(${EXTERNAL_PROJECT}_VERSION "0.15.20")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--disable-gtk")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "freetype")
set(${EXTERNAL_PROJECT}_VERSION "2.4.6")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://download.savannah.gnu.org/releases/freetype/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "fontconfig")
set(${EXTERNAL_PROJECT}_VERSION "2.8.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.gz")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://server1.xrdp.org/xrdp/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "freetype;expat")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xcb-proto")
set(${EXTERNAL_PROJECT}_VERSION "1.6")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xcb.freedesktop.org/dist/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libxcb")
set(${EXTERNAL_PROJECT}_VERSION "1.7")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xcb.freedesktop.org/dist/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "xcb-proto")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xtrans")
set(${EXTERNAL_PROJECT}_VERSION "1.2.6")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xproto")
set(${EXTERNAL_PROJECT}_VERSION "7.0.20")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libX11")
set(${EXTERNAL_PROJECT}_VERSION "1.4.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libpthread-stubs;xproto;xtrans")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXau")
set(${EXTERNAL_PROJECT}_VERSION "1.0.6")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXrender")
set(${EXTERNAL_PROJECT}_VERSION "0.9.6")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.x.org/releases/X11R7.6/src/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xextproto")
set(${EXTERNAL_PROJECT}_VERSION "7.1.2")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXext")
set(${EXTERNAL_PROJECT}_VERSION "1.2.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;xextproto;libXau;libXrender")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libdrm")
set(${EXTERNAL_PROJECT}_VERSION "2.4.26")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://dri.freedesktop.org/libdrm/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libpthread-stubs;libpciaccess;libXrender;libXext")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXinerama")
set(${EXTERNAL_PROJECT}_VERSION "1.1.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.x.org/releases/X11R7.6/src/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXi")
set(${EXTERNAL_PROJECT}_VERSION "1.4.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.x.org/releases/X11R7.6/src/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "cairo")
set(${EXTERNAL_PROJECT}_VERSION "1.8.8")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.gz")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://server1.xrdp.org/xrdp/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libpng;pixman;freetype;fontconfig;libX11;libxcb;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libICE")
set(${EXTERNAL_PROJECT}_VERSION "1.0.7")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libSM")
set(${EXTERNAL_PROJECT}_VERSION "1.2.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libICE")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXt")
set(${EXTERNAL_PROJECT}_VERSION "1.0.9")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libSM;libICE;libxcb;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "fixesproto")
set(${EXTERNAL_PROJECT}_VERSION "4.1.2")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXfixes")
set(${EXTERNAL_PROJECT}_VERSION "4.0.5")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;fixesproto")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "damageproto")
set(${EXTERNAL_PROJECT}_VERSION "1.2.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXdamage")
set(${EXTERNAL_PROJECT}_VERSION "1.1.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXfixes;damageproto;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "MesaLib")
set(${EXTERNAL_PROJECT}_VERSION "7.10.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".zip")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "ftp://ftp.freedesktop.org/pub/mesa/7.10.3/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-expat=${X11RDP_PREFIX};--disable-gallium")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "expat;dri2proto;glproto;libdrm;Python;makedepend;libX11;libXdamage;libXfixes;libXt")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "randrproto")
set(${EXTERNAL_PROJECT}_VERSION "1.3.2")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "renderproto")
set(${EXTERNAL_PROJECT}_VERSION "0.11.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xcmiscproto")
set(${EXTERNAL_PROJECT}_VERSION "1.2.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xf86vidmodeproto")
set(${EXTERNAL_PROJECT}_VERSION "2.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xf86bigfontproto")
set(${EXTERNAL_PROJECT}_VERSION "1.2.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "scrnsaverproto")
set(${EXTERNAL_PROJECT}_VERSION "1.2.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "bigreqsproto")
set(${EXTERNAL_PROJECT}_VERSION "1.1.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "resourceproto")
set(${EXTERNAL_PROJECT}_VERSION "1.1.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "fontsproto")
set(${EXTERNAL_PROJECT}_VERSION "2.1.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "inputproto")
set(${EXTERNAL_PROJECT}_VERSION "2.0.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xf86dgaproto")
set(${EXTERNAL_PROJECT}_VERSION "2.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "videoproto")
set(${EXTERNAL_PROJECT}_VERSION "2.3.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "compositeproto")
set(${EXTERNAL_PROJECT}_VERSION "0.4.2")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "recordproto")
set(${EXTERNAL_PROJECT}_VERSION "1.14.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xineramaproto")
set(${EXTERNAL_PROJECT}_VERSION "1.2")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "kbproto")
set(${EXTERNAL_PROJECT}_VERSION "1.0.5")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXdmcp")
set(${EXTERNAL_PROJECT}_VERSION "1.1.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libxslt")
set(${EXTERNAL_PROJECT}_VERSION "1.1.26")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.gz")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "ftp://xmlsoft.org/libxslt/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libxml2")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libxkbfile")
set(${EXTERNAL_PROJECT}_VERSION "1.0.7")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libfontenc")
set(${EXTERNAL_PROJECT}_VERSION "1.1.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXfont")
set(${EXTERNAL_PROJECT}_VERSION "1.4.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libfontenc;xproto;xtrans;fontsproto")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXmu")
set(${EXTERNAL_PROJECT}_VERSION "1.1.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libXt;libSM;libICE;libXext;libX11;libXau")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXxf86vm")
set(${EXTERNAL_PROJECT}_VERSION "1.1.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXext;libXau;xf86vidmodeproto;xf86driproto;xf86dgaproto;xf86bigfontproto")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXpm")
set(${EXTERNAL_PROJECT}_VERSION "3.5.9")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXau;libXrender")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "libXaw")
set(${EXTERNAL_PROJECT}_VERSION "1.0.8")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/lib/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libXmu;libXt;libXext;libSM;libICE;libX11;libxcb;libXau;libXpm")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "mkfontdir")
set(${EXTERNAL_PROJECT}_VERSION "1.0.6")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/app/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "mkfontscale")
set(${EXTERNAL_PROJECT}_VERSION "1.0.8")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/app/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xkbcomp")
set(${EXTERNAL_PROJECT}_VERSION "1.2.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/app/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libxkbfile;libXau;libXdmcp")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xdriinfo")
set(${EXTERNAL_PROJECT}_VERSION "1.0.4")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/app/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libX11;libXau;libXext;libXdamage;libXfixes;libXxf86vm;libdrm;libXdmcp")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xorg-server")
set(${EXTERNAL_PROJECT}_VERSION "1.9.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/xserver/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-sha1=libcrypto;--disable-dmx")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libpciaccess;pixman;freetype;libfontenc;libXau;libXdmcp")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "applewmproto")
set(${EXTERNAL_PROJECT}_VERSION "1.4.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/proto/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "bdftopcf")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://ftp.x.org/pub/individual/app/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "libXfont;freetype;libfontenc")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "intltool")
set(${EXTERNAL_PROJECT}_VERSION "0.41.1")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.gz")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://server1.xrdp.org/xrdp/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "xkeyboard-config")
set(${EXTERNAL_PROJECT}_VERSION "2.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://www.x.org/releases/individual/data/xkeyboard-config/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX}")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-adobe-75dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-adobe-100dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-adobe-utopia-75dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.4")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-adobe-utopia-100dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.4")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-adobe-utopia-type1")
set(${EXTERNAL_PROJECT}_VERSION "1.0.4")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-alias")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-arabic-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bh-75dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bh-100dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bh-lucidatypewriter-75dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bh-lucidatypewriter-100dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bh-ttf")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11;--with-fc-confdir=${X11RDP_PREFIX}/etc/fonts")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bh-type1")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bitstream-75dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bitstream-100dpi")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-bitstream-type1")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-cronyx-cyrillic")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-cursor-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-daewoo-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-dec-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-ibm-type1")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-isas-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-jis-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-micro-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-misc-cyrillic")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-misc-ethiopic")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-misc-meltho")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-misc-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.1.2")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-mutt-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-schumacher-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.1.2")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-screen-cyrillic")
set(${EXTERNAL_PROJECT}_VERSION "1.0.4")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-sony-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-sun-misc")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-util")
set(${EXTERNAL_PROJECT}_VERSION "1.2.0")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-winitzki-cyrillic")
set(${EXTERNAL_PROJECT}_VERSION "1.0.3")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

set(EXTERNAL_PROJECT "font-xfree86-type1")
set(${EXTERNAL_PROJECT}_VERSION "1.0.4")
set(${EXTERNAL_PROJECT}_NAME "${EXTERNAL_PROJECT}-${${EXTERNAL_PROJECT}_VERSION}")
set(${EXTERNAL_PROJECT}_EXT ".tar.bz2")
set(${EXTERNAL_PROJECT}_FILE "${${EXTERNAL_PROJECT}_NAME}${${EXTERNAL_PROJECT}_EXT}")
set(${EXTERNAL_PROJECT}_URL "http://xorg.freedesktop.org/releases/individual/font/${${EXTERNAL_PROJECT}_FILE}")
set(${EXTERNAL_PROJECT}_CONFIGURE "--prefix=${X11RDP_PREFIX};--with-fontrootdir=${X11RDP_PREFIX}/share/fonts/X11")
set(${EXTERNAL_PROJECT}_UPDATE "")
set(${EXTERNAL_PROJECT}_MAKE "")
set(${EXTERNAL_PROJECT}_DEPENDS "fontconfig")
list(APPEND EXTERNAL_PROJECTS ${EXTERNAL_PROJECT})

foreach(EXTERNAL_PROJECT ${EXTERNAL_PROJECTS})
	message(STATUS "Adding External Project: ${EXTERNAL_PROJECT}")
	list(APPEND ${EXTERNAL_PROJECT}_CONFIGURE ${EXTERNAL_PROJECTS_CONFIGURE_EXTRA})
	ExternalProject_Add(${EXTERNAL_PROJECT}
		URL ${${EXTERNAL_PROJECT}_URL}
		UPDATE_COMMAND "${${EXTERNAL_PROJECT}_UPDATE}"
		CONFIGURE_COMMAND "${EXTERNAL_PROJECTS_BASE}/Source/${EXTERNAL_PROJECT}/configure" ${${EXTERNAL_PROJECT}_CONFIGURE}
		BUILD_IN_SOURCE 1
		BUILD_COMMAND "make" ${${EXTERNAL_PROJECT}_MAKE}
		DEPENDS ${${EXTERNAL_PROJECT}_DEPENDS}
		)
endforeach()

set(MAKE_ALL "make")

foreach(EXTERNAL_PROJECT ${EXTERNAL_PROJECTS})
	set(MAKE_ALL "${MAKE_ALL} ${EXTERNAL_PROJECT}")
endforeach()

message(STATUS "${MAKE_ALL}")

